#include <stdio.h>
#include <time.h>
typedef long long I64;
int main(){
  int n = 1000000007;
  int flag = 1;
  if (n % 2 == 0){
    if (n == 2)
      flag = 1;
    else
      flag = 0;
  }
  else{
    int c;
    for (c = 3; c *c <= n; c += 2)
    if (n % c == 0){
      flag = 0;
      break;
    }
  }
  if (flag)
    puts("Prime");
  else
    puts("Not a primer!");
  return 0;
}
